package com.itbbfx.service.pharmacymanager.impl;

import com.itbbfx.entity.Record;
import com.itbbfx.mapper.RecordMapper;
import com.itbbfx.service.pharmacymanager.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecordserviceImpl implements RecordService {
    @Autowired
    private RecordMapper recordMapper;

    @Override
    public List<Record> selRecord(Record record) {
        return recordMapper.selRecord(record);
    }

    @Override
    public int addRecord(Record record) {
        return recordMapper.addRecord(record);
    }
}